
function __G__TRACKBACK__(errorMessage)
    print("----------------------------------------")
    print("LUA ERROR: " .. tostring(errorMessage) .. "\n")
    print(debug.traceback("", 2))
    print("----------------------------------------")
end

package.path = package.path .. ";src/?.lua"
package.path = package.path .. ";src/"
package.path = cc.FileUtils:getInstance():getWritablePath().."?.lua;"..package.path

cc.FileUtils:getInstance():setPopupNotify(false)

require("config")
require("cocos.init")
require("quick.init")
require("quick.shortcodes")
require("quick.cc.init")

cc.FileUtils:getInstance():addSearchPath("res/")
cc.FileUtils:getInstance():addSearchPath("src/")

math.randomseed(os.clock())

print("run main_fix.lua")
